package com.mzpai.util.generate;

public class GenerateMapper<T> extends GenerateBase<T> {

	
	public static final String PACKAGE_TYPE = "mapper";
	public GenerateMapper(Class<T> clazz, String moduleName, String author) {
		super(clazz, PACKAGE_TYPE, moduleName, author);
	}

	@Override
	protected void generaeImport() {
		addImport(CLAZZ_NAME, false);
	    addImport("com.mzpai.mapper.BaseMapper", false);
		
	}

	@Override
	protected void generaeCalssTitle() {
		 StringBuffer sb = new StringBuffer("public interface ");
		    sb.append(clazz.getSimpleName());
		    sb.append(SUFFIX);
		    sb.append(" extends BaseMapper<");
		    sb.append(clazz.getSimpleName());
		    sb.append("> {");
		    sb.append(NEXT_LINE);
		    addClassLine(sb.toString());
		
	}

	@Override
	protected void generaeCalssContext() {
		// TODO Auto-generated method stub
		
	}

}
